﻿using System.Windows.Controls;
using Tisbi.LawFirm.UI.ViewModel;

namespace Tisbi.LawFirm.UI.Views.Controls.Forms
{
    /// <summary>
    /// Interaction logic for LawsuitCRUDForm.xaml
    /// </summary>
    public partial class LawsuitCRUDForm : UserControl
    {
        public LawsuitCRUDForm()
        {
            InitializeComponent();
        }


        public LawsuitCRUDForm(LawsuitCRUDViewModal viewModel)
            : this()
        {
            // Set data context to view model
            DataContext = viewModel;
        }
    }
}
